#include <stdio.h>

int main(void) {
    float x1 = 10.0, y1 = 11.0;
    float x2 = 100.0, y2 = 112.0;
    
    float k = (y2-y1)/(x2-x1);
    float b = y1 - k*x1;
    printf("k = %f, b = %f\r\n", k, b);

    float y1_n = x1*k + b;
    float y2_n = x2*k + b;

    printf("y1_n = %f, y1_n = %f\r\n", y1_n, y2_n);
    
    return 0;
}










